cmake_minimum_required(VERSION 3.13)
project(udp_example C)
set(CMAKE_C_STANDARD 11)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
set(ENV{INCLUDE} "${CMAKE_CURRENT_SOURCE_DIR}/mavlink")
find_package(MAVLink REQUIRED)
include_directories(${MAVLINK_INCLUDE_DIR})
add_executable(udp_example udp_example.c)
#target_link_libraries(udp_example PRIVATE MAVLink::mavlink)
